import request from '@/utils/request'

export function getWebConfig() {
    return request({
        url: '/common/webInfo',
        method: 'get',
        params: {}
    })
}

export function updateWebConfig(data) {
    return request({
        url: '/system/webConfig',
        method: 'put',
        data
    })
}

export function updateAuthConfig(data) {
    return request({
        url: '/blog/authConfig',
        method: 'put',
        data
    })
}
